//
//  ArrayUtil.h
//  AlgorithmDemo
//
//  Created by zxs on 2020/8/21.
//  Copyright © 2020 zxs. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ArrayUtil : NSObject

// 合并数组；其中a，b都是从小到大有序排列的数组
// https://www.jianshu.com/p/dff13d9b822d
void mergeList(int a[_Nonnull], int aLen, int b[_Nonnull], int bLen, int result[_Nonnull]);

// 快速排序
void quickSort(int array[_Nonnull], int low, int high);

@end

NS_ASSUME_NONNULL_END
